<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Stock Master</title>



</head>



<body>
<style>

.cellL{padding-right:2px;padding-left:2px;white-space:nowrap;text-align:left;}

.def{font-family:sans-serif; font:Verdana, Arial, Helvetica, sans-serif; font-size:11px;}

.HrDef{height:1px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px;}

.mediumbluelink {

	color: #0033CC;

	font-size: 12px;

}

.field{width:60px; background-color:#ffffff; color:#333333; border:solid 1px #7F9DB9; font:normal 12px verdana; padding:4px; *height:23px; padding:0px;}

.field1{width:220px; background-color:#ffffff; color:#333333; border:solid 1px #7F9DB9; font:normal 12px verdana; padding:4px; *height:23px; padding:0px;}

.SearchList{display:none;position:relative;border:1px solid black;z-index:9998;background-color:white;top:-1;}

.ShowDataList{position:relative;border:1px solid black;z-index:9998;background-color:white;top:-1;}
.top_hint{background:url('images/hint-top-curve[1].gif') no-repeat; width:204px; height:10px;}

.middle_hint {width:189px; *width:204px; background-color:#D4EC89; border-right:solid 1px #B3CE5F; border-left:solid 1px #B3CE5F; font:normal 11px arial; color:#000000; padding:0 5 0 8px;}

.bottom_hint{background:url('images/hint-bottom-curve[1].gif') no-repeat; width:204px; height:9px;}
.hint_dob {display: none; position: absolute; left: 62%; width: 200px; margin-top: -15px; padding: 0px; z-index:100}
.buttons12 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #990000;
	text-decoration: none;
	background-color: #D7D6B9;
	border: 1px solid #990000;
}
</style>
<div>
<div id="div_title_gadget" style="background-color:#95E2FF; width:100%; font-weight:bold" align="left" class="def">Stock Portfolio</div>
<center>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="def" id="tab_1">

<th width="15%" align="left" id="company_name">Name</th>

<th width="15%">Change</th>

<th width="15%" id="main_col1">Last</th>

<th width="15%" id="main_col2">Trade time</th>

<th width="15%" id="main_col3">50 Day Avg.</th>
<th width="15%" id="main_col4">Currency</th>
<th width="10%" align="right" id="main_col5">Trend</th>
<hr style="margin-bottom:0px;">

</table></center>

<hr class="HrDef">

<center><div id="StockSummary" style="display:inline;">

</div>

  <table width="100%"  border="0" class="def" id="tab_10">

   <tr>

    <td width="200"> </td>

    <td align="center">&nbsp;</td>

    <td width="200" align="right"><a class="mediumbluelink" href="#a" onClick="show(document.getElementById('editoradd'))">Add</a>&nbsp;<a class="mediumbluelink" href="#a" onClick="show(document.getElementById('Stock_Summary_Details'))">Stock</a>&nbsp;<a class="mediumbluelink" href="#a" onClick="show(document.getElementById('show_profit')); show_current();">Profit</a>&nbsp;<a class="mediumbluelink" href="#a" onClick="show(document.getElementById('main_div_addData')); check_added(document.getElementById('main_div_addData'));">Edit Stock</a>&nbsp;<a class="mediumbluelink" href="#a" onClick="toggleHint_new_Set('show', 'settings', document.getElementById('settings'), document.getElementById('company_name').offsetWidth); show_saved();">Settings</a>
<!--Edit setting window starts -->
<span class="hint_dob" id="hint_settings" style="display:none; width:400px;">
		<div style="border-top: 2px ridge black ; border-bottom: 2px ridge black ; border-right: 2px ridge black ; border-left: 2px ridge black ; width:400px; filter:alpha(opacity=80); opacity:0.8;">
			<table width="400" border="0" bgcolor="#95E2FF">
  <tr>
    <td width="150" align="right">Title</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="240" width="60%"><input type="text" id="title_gadget" name="title_gadget" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;"></td>
  </tr>
  <tr>
    <td align="right">Font Size</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select name="font_select" id="font_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="9px">9px</option><option value="10px">10px</option><option value="11px">11px</option><option selected="selected" value="12px">12px</option><option value="14px">14px</option></select></td>
  </tr>
  <tr>
    <td align="right">Currency</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select name="currency_select" id="currency_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="-">No currency conversion</option><option value="ARS">Argentine Peso (ARS)</option><option selected="selected" value="AUD">Australian Dollar (AUD)</option><option value="BRL">Brazilian Real (BRL)</option><option value="GBP">British Pound (GBP)</option><option value="CLP">Chilean Peso (CLP)</option><option value="CNY">Chinese Yuan (CNY)</option><option value="CZK">Czech Koruna (CZK)</option><option value="CAD">Canadian Dollar (CAD)</option><option value="DKK">Danish Krone (DKK)</option><option value="EEK">Estonian Kroon (EEK)</option><option value="EUR">Euro (EUR)</option><option value="HKD">Hong Kong Dollar (HKD)</option><option value="HUF">Hungarian Forint (HUF)</option><option value="ISK">Iceland Krona (ISK)</option><option value="INR">Indian Rupee (INR)</option><option value="IDR">Indonesian Rupiah (IDR)</option><option value="ILS">Israeli Shekel (ILS)</option>
	<option value="JPY">Japanese Yen (JPY)</option><option value="KRW">Korean Won (KRW)</option>
	<option value="KWD">Kuwaiti Dinar (KWD)</option><option value="MOP">Macau Pataca (MOP)</option><option value="MYR">Malaysian Ringgit (MYR)</option><option value="MXN">Mexican Peso (MXN)</option><option value="TRY">New Turkish Lira (TRY)</option><option value="NZD">New Zealand Dollar (NZD)</option><option value="NOK">Norwegian Krone (NOK)</option><option value="PHP">Philippine Peso (PHP)</option><option value="PLN">Polish Zloty (PLN)</option><option value="RON">Romanian New Leu (RON)</option><option value="RUB">Russian Rouble (RUB)</option><option value="SGD">Singapore Dollar (SGD)</option><option value="SEK">Swedish Krona (SEK)</option><option value="CHF">Swiss Franc (CHF)</option><option value="THB">Thai Baht (THB)</option><option value="USD">U.S. Dollar (USD)</option><option value="AED">UAE Dirham (AED)</option><option value="VEB">Venezuelan Bolivar (VEB)</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Name Column</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select name="name_type" id="name_type" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="1">Symbol</option><option selected="selected" value="2">Name</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Change Column</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select name="change_type" id="change_type" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="3">Percent</option><option selected="selected" value="4">Change</option><option value="5">Change(%)</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Column 1</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select id="column1_select" name="column1_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="0">Not used</option><option value="3">Percent</option><option value="4">Change</option><option value="5">Change(%)</option><option selected="selected" value="6">Last</option><option value="7">Trade date</option><option value="8">Trade time</option><option value="9">Day open</option><option value="10">Day low</option><option value="11">Day high</option><option value="12">Volume</option><option value="13">Prev close</option><option value="14">52 week range</option><option value="15">Ask</option><option value="16">Bid</option><option value="17">Trend</option><option value="18">50 day avg.</option><option value="19">200 day avg.</option><option value="20">Day range</option><option value="24">Currency</option><option value="26">Exch.rate</option><option value="Gain Today">Gain Today</option><option value="Gain">Gain</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Column 2</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select name="column2_select" id="column2_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="0">Not used</option><option value="6">Last</option><option value="7">Trade date</option><option value="8">Trade time</option><option value="9">Day open</option><option value="10">Day low</option><option value="11">Day high</option><option value="12">Volume</option><option value="13">Prev close</option><option value="14">52 week range</option><option value="15">Ask</option><option value="16">Bid</option><option value="17">Trend</option><option value="18">50 day avg.</option><option value="19">200 day avg.</option><option value="20">Day range</option><option selected="selected" value="24">Currency</option><option value="26">Exch.rate</option><option value="21">strike</option><option value="22">call/put</option><option value="23">strike</option><option value="Gain Today">Gain Today</option><option value="Gain">Gain</option>
	</select></td>
  </tr> <tr>
    <td align="right">Column 3</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select id="column3_select" name="column3_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="0">Not used</option><option value="6">Last</option><option value="7">Trade date</option><option value="8">Trade time</option><option value="9">Day open</option><option value="10">Day low</option><option value="11">Day high</option><option value="12">Volume</option><option value="13">Prev close</option><option value="14">52 week range</option><option value="15">Ask</option><option value="16">Bid</option><option value="17">Trend</option><option selected="selected" value="18">50 day avg.</option><option value="19">200 day avg.</option><option value="20">Day range</option><option value="24">Currency</option><option value="26">Exch.rate</option><option value="21">strike</option><option value="22">call/put</option><option value="23">strike</option><option value="Gain Today">Gain Today</option><option value="Gain">Gain</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Column 4</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select id="column4_select" name="column4_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="0">Not used</option><option value="6">Last</option><option value="7">Trade date</option><option value="8">Trade time</option><option value="9">Day open</option><option value="10">Day low</option><option value="11">Day high</option><option value="12">Volume</option><option value="13">Prev close</option><option selected="selected" value="14">52 week range</option><option value="15">Ask</option><option value="16">Bid</option><option value="17">Trend</option><option value="18">50 day avg.</option><option value="19">200 day avg.</option><option value="20">Day range</option><option value="24">Currency</option><option value="26">Exch.rate</option><option value="21">strike</option><option value="22">call/put</option><option value="23">strike</option><option value="Gain Today">Gain Today</option><option value="Gain">Gain</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Column 5</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select id="column5_select" name="column5_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="0">Not used</option><option value="6">Last</option><option value="7">Trade date</option><option value="8">Trade time</option><option selected="selected" value="9">Day open</option><option value="10">Day low</option><option value="11">Day high</option><option value="12">Volume</option><option value="13">Prev close</option><option value="14">52 week range</option><option value="15">Ask</option><option value="16">Bid</option><option value="17">Trend</option><option value="18">50 day avg.</option><option value="19">200 day avg.</option><option value="20">Day range</option><option value="21">strike</option><option value="22">call/put</option><option value="23">strike</option><option value="Gain Today">Gain Today</option><option value="Gain">Gain</option>
	</select></td>
  </tr>
   <tr>
    <td align="right">Chart Period</td>
    <td width="10" align="center" valign="top">:</td>
    <td colspan="2"><select name="period_select" id="period_select" style="font-size:11px; font-family:Tahoma; border: 1px solid #7F9DB9; width:156px;">
	<option value="1d">1 day</option><option value="5d">5 days</option><option value="1m">1 month</option><option value="3m">3 months</option><option selected="selected" value="1y">6 months</option>
	</select></td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td width="10" align="center" valign="top">&nbsp;</td>
	 <td align="right"><input type="button" id="Save_settings" name="Save_settings" value="Save" class="buttons12" onClick="load_all_data();"></td>
    <td><input type="button" id="cancel" name="cancel" onClick="hide_settings('hide', 'settings');" value="Cancel" class="buttons12"></td>
  </tr>
</table>
		</div>
		</span>
<!--Edit setting window ends -->
</td>

  </tr>

</table>
<script language="javascript" type="text/javascript" src="ajax_gadget.js"></script>
<div id="deleteind" style="display:none;">
</div>
<div id="updateind" style="display:none;"></div>
</center>

<a name="#a"></a>

<div id="show_profit" style="display:none;">

<hr class="HrDef">

<table width="100%"  border="0" cellspacing="0" cellpadding="0" class="def" id="tab_2">

<th align="left" width="25%">Name<hr class="HrDef"></th>

<th align="left" width="15%">Gain Today<hr class="HrDef"></th>

<th align="left" width="15%">Gain<hr class="HrDef"></th>

<th align="left" width="15%">Value<hr class="HrDef"></th>

<th align="left" width="15%">Currency<hr class="HrDef"></th>

<th align="left" width="15%">Exch. Rate<hr class="HrDef"></th>

</table>

<div id="show_profit_details" style="display:inline;">

</div>

</div>
<hr class="HrDef">
<div id="current_profit" style="display:none;">
<table width="100%"  border="0" cellspacing="0" cellpadding="0" class="def" id="tab_3">
<tr><td width="7%">Gain Today</td>
  <td width="1%" align="center">:</td>
  <td id="currentgaintoday" width="5%">0</td>
<td width="10%" align="right">Gain</td>
<td width="1%" align="center">:</td>
<td id="currentgain" width="5%">0</td>
<td width="10%" align="right">Value</td>
<td width="1%" align="center">:</td>
<td id="currentvalue" width="60%">0</td>
</table>
</div>

<div style="display:none;" id="editoradd">

<hr class="HrDef">

<div align="left" class="def"><input type="text" name="addedit" id="addedit" value="Enter Symbol or Company Name" title="Enter Symbol or Company Name" onFocus="getFocus(this,1);" onBlur="getFocus(this,0);" onKeyUp="getAllData(this.value);" class="field1">

<a id="anc_1" style="cursor:pointer;" onClick="calculateAll(); add_div(document.getElementById('addedit').value); doTimer_stock(); doTimer_profit();" class="mediumbluelink"><u>Add</u></a></div>

<div id="StockAddList" style="font-size:12px; display:none;" class="SearchList"></div>
</div>


<div id="main_div_addData" style="display:none;">
<center>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="def" id="tab_4">

  <th width="20%" align="left">Symbol</th>

    <th width="13%" align="right" valign="top">Qty</th>

    <th width="13%" align="right" valign="top">Buy Price</th>

    <th width="13%" align="right" valign="top">Exch. Rate </th>

    <th width="13%" align="right" valign="top">High</th>

    <th width="13%" align="right" valign="top">Low</th>

	<th width="15%" align="left"></th>

    <hr style="margin-bottom:0px;">

</table></center>

<hr class="HrDef">

<div id="div_addData">

</div></div>

<div id="Stock_Summary_Details" style="display:none; width:500px; height:109px;">

</div>

<hr class="HrDef">
</div>
</body>

</html>

